Smartag2 Application Description

The SmarTag2 Application reads the ambient light, motion and environmental sensor data on your IoT node by the means of an NFC enabled reader, such as a mobile phone or tablet, throught a suitable AndroidST or iOST application such as the ST Asset Tracking.

The package supports battery operated use cases.

This firmware package includes Components Device Drivers, Board Support Package and example application for the following STMicroelectronics elements:

The example application allows the user to control the initialization phase via UART.

Launch a terminal application and set the UART port to 9600 bps, 8 bit, No Parity, 1 stop bit. For having the same UART functionality on STEVAL-SMARTAG1 board, is necessary to recompile the code uncomment the line

//#define SMARTAG_ENABLE_PRINTF

on file:

Projects\STM32L4P5CE-SmarTag2\Examples\SmarTag2\Inc\SMARTAG2_config.h

Keywords

NFC, SPI, I2C, UART

Hardware and Software environment

Dependencies

STM32Cube packages:

STEVAL-SMARTAG1:

How to use it?

This package contains projects for 3 IDEs viz. IAR, Keil µVision 5 and Integrated Development Environment for STM32. In order to make the program work, you must do the following:

For IAR:

For Keil µVision 5:

For Integrated Development Environment for STM32:

Author

SRA Application Team

License

Copyright (c) 2023 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.